package com.star.common.core.enums;

import lombok.AllArgsConstructor;

/**
 * 排序类型枚举
 *
 * @author zhouhengzhe
 */
@AllArgsConstructor
public enum SortTypeEnum implements IEnum<String> {
    ASC("ASC", "升序"),
    DESC("DESC", "降序");

    private String code;
    private String desc;

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
